package com.usian.feign;

import com.usian.pojo.B.day09.Course;
import com.usian.r.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author BYBL
 * @date 2023/8/23
 */
@FeignClient(value = "day09course")
public interface CourseFeign {
    @RequestMapping("/course/findUid")
    public R findUid(@RequestParam("uid") Integer uid);
    @RequestMapping("/course/findHot")
    public R findHot(Course course);
}
